/**
 * Copyright (c) 2002-2011 旭鸣信息
 * All rights reserved. 
 * File：IOrderLogDao.java
 * History:
 *       Apr 16, 2012: Initially created, liuzhi.
 */
package com.xteam.ecsystem.dao;

import java.util.Date;

import com.xteam.ecsystem.utils.PageCenterStation;

/**
 * 订单日志信息数据访问实现类
 */
public interface IOrderLogDao {
	
	/**
	 * 根据订单编号获得订单日志信息
	 * @author liuzhi
	 * @param orderId
	 * @return
	 */
	public String getLolListByOrderId(String orderId);
	
	/**
	 * 保存订单日志
	 * @author liuzhi
	 * @param lolOtype
	 * @param lolOrder
	 * @param lolUtype
	 * @param lolUser
	 * @param lolAddress
	 * @param lolTime
	 * @param lolOremark
	 */
	public void saveOrderLog(String lolOtype, String lolOrder, String lolUtype,
			String lolUser, String lolAddress, Date lolTime, String lolOremark);
	
	/**
	 * 条件查询并分页显示订单日志信息记录
	 * @author liuzhi
	 * @param boiOsn
	 * @param lolUser
	 * @param pageIndex
	 * @param pageSize
	 * @return
	 */
	public String getOrderLogList(String boiOsn, String lolUser, int pageIndex, int pageSize);
	
	/**
	 * 
	 * 清除单条或多条订单日志信息
	 * @author liuzhi
	 * @param ids
	 */
	public void delOrderLogsByIds(String ids);
	
	public void saveOrderLog(String orderid,String ip,String user,String lol_otype);
	
	public PageCenterStation<?> findOrderLogList(int pageIndex, int pageSize, String boiId);

}
